/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hoja5;
import java.util.List;
import java.util.LinkedList;

public class CircCola<E> extends AbsQueue<E>{
    private int head, tail;
    private List<E> lista;
    
    
    public CircCola(int size){
        super(size);
        lista=new LinkedList<E>();
        head=0;
        tail=0;
        cont++;
    }
    @Override
    public void add(E item) {
       lista.add(item);
       cont++;
       
    }

    @Override
    public E remove() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public E peek() {
        throw new UnsupportedOperationException("Not supported yet.");
    }


    
}
